Skip to content

Conversation

VincentLanglet
Copy link
Contributor

Closes phpstan/phpstan#10036

Closes #2769

Seems like it was implemented but ignored because of an early return.
I just fixed it and add it the usage of the rule levelhelper.

Copy link
Contributor

@staabm staabm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for taking over!

@VincentLanglet VincentLanglet requested a review from staabm July 24, 2025 19:05
@ondrejmirtes ondrejmirtes merged commit b1f082c into phpstan:2.1.x Sep 7, 2025
448 of 454 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

instanceof $class not reported as an error when $class is string|null

3 participants